//
//  NSDate+ADJgKit.h
//  ADJgKit
//
//  Created by 陈坤 on 2020/3/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDate (ADJgKit)

@property (nonatomic, assign, readonly) NSInteger adjg_year;
@property (nonatomic, assign, readonly) NSInteger adjg_month;
@property (nonatomic, assign, readonly) NSInteger adjg_day;
@property (nonatomic, assign, readonly) NSInteger adjg_hour;
@property (nonatomic, assign, readonly) NSInteger adjg_minute;
@property (nonatomic, assign, readonly) NSInteger adjg_seconds;
@property (nonatomic, assign, readonly) NSInteger adjg_nanoseconds;
@property (nonatomic, assign, readonly) NSInteger adjg_weekday;

+ (nullable NSDate *)adjg_dateWithDateString:(NSString *)dateString;

+(nullable NSDate *)adjg_dateWithFormat_yyyy_MM_dd_HH_mm_ss_string:(NSString *)string;
+(nullable NSDate *)adjg_dateWithFormat_yyyy_MM_dd_HH_mm_string:(NSString *)string;
+(nullable NSDate *)adjg_dateWithFormat_yyyy_MM_dd_HH_string:(NSString *)string;
+(nullable NSDate *)adjg_dateWithFormat_yyyy_MM_dd_string:(NSString *)string;
+(nullable NSDate *)adjg_dateWithFormat_yyyy_MM_string:(NSString *)string;

@end

NS_ASSUME_NONNULL_END
